package logic

import (
	"context"
	"gozeroStandalone/internal/svc"

	"github.com/zeromicro/go-zero/core/logx"
)

/*
 +----------------------------------------------------------------------
 + Title        : OrderItemLogic
 + Author       : huwl
 + Version      : 1.0.0
 + Initial-Time : 2025-08-08
 + Last-time    : 这个文件最后修改的时间 + 修改人的名称
 + Desc         : 订单明细逻辑
 +----------------------------------------------------------------------
*/

type OrderItemLogic struct {
	BaseLogic
}

/**
 * 创建订单逻辑实例
 *
 * @param context.Context ctx ----------------------必传
 * @param *svc.ServiceContext svcCtx ---------------必传
 * @return *OrderItemLogic
 * @author huwl
 * @date 2025/10/24 12:54:03
 */
func NewOrderItemLogicInstance(ctx context.Context, svcCtx *svc.ServiceContext) *OrderItemLogic {
	return &OrderItemLogic{
		BaseLogic{
			Ctx:    ctx,
			SvcCtx: svcCtx,
			Logger: logx.WithContext(ctx),
		},
	}
}
